package com.seecen.myspringboot.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ValueController {


    @Value(value = "${seecen.value}")
    private String value;

    @GetMapping("/getValue")
    public String getValue() {
        System.out.println(1/0);
        return value;
    }



}
